<tagLib name="html" />
<include file="Public:headerNew" />
<load href="__PUBLIC__/Js/jqueryUI/jquery-ui-1.8.16.custom.min.js" />
<load href="__PUBLIC__/Css/jqueryUI/jquery-ui-1.8.21.custom.css" />
<load href="__PUBLIC__/Js/Jquery/jquery.form.js" />
<div class="titleone">
<script type="text/javascript">
			
			
			$(function(){

				//hover states on the static widgets

				$('ul#icons li,#btn_link,#meter_btn').hover(

					function() { $(this).addClass('ui-state-hover'); }, 
					function() { $(this).removeClass('ui-state-hover'); }

				);
				

				

			

			});

			function addmeter(id){
				
				var keyValue;
				if (id)
				{
					keyValue = id;
				}else {
					keyValue = getSelectCheckboxValues();
				}
				if (!keyValue)
				{
					alert('请选择商业机构！');
					return false;
				}
			
				location.href = URL+"/addMeter/id/"+keyValue;


			}
			
			
			


</script>
<h1 class="fLeft">用户计量表信息  {$com.name}</h1><a href="{$REFERER}"><div class="returnimg"></div></a></div>
<div id="result" class="result none"></div>
<div id="main" class="main full" >




		<!-- ui-dialog -->

<div class="metroTitle">{$com.name}计量表信息 </div><div style="float:right; width:240px; position:relative; margin-top:-30px;font-size:14px;"><a href="#" onclick="addmeter({$com.id})" id="btn_link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin"></span>新增计量表</a></div>		





<!-- Think 系统列表组件开始 -->
<div style="padding-left:20px;display:block;">
<div class="metroTitleLite">水表列表</div>
<table id="checkList" class="list" cellpadding=0 cellspacing=0 width="98%">

<tr class="row" >
<th width="8" height="32" style="border-left:#3399ff 6px solid;padding-left:4px;"><input type="checkbox" id="check" onclick="CheckAll('checkList')"></th><th width="8%">
<a href="javascript:sortBy('id','1','index')" title="按照编号升序排列 ">编号<img src="/rx/Manage/Tpl/Public/images/desc.gif" width="12" height="17" border="0" align="absmiddle"></a></th>
<th width="15%">水表标示名称</th>
<th>计量单价</th>
<th width="18%">操作</th>
</tr>
<volist name="listw" id="vo">
<tr class="row" onmouseover="over(event)" onmouseout="out(event)" onclick="change(event)"  height="22"><td height="32" align="center"><input type="checkbox" name="key"	value="{$vo.id}"></td><td>表{$i}</td><td><a href="javascript:edit('{$vo.id}')">{$vo.meterid}</a></td><td>{$vo.m_price}</td><td><a href="#" id="meter_btn" class="ui-state-default ui-corner-all" onclick="addmeter({$vo.id})"><span class="ui-icon ui-icon-gear"></span>删除计量表</a></td></tr>
</volist>

</table>
</div>

<div style="padding-left:20px;display:block;">
<div class="metroTitleLite">电表列表</div>
<table id="checkList" class="list" cellpadding=0 cellspacing=0 width="98%">
  
<tr class="row" >
<th width="14" height="32" style="border-left:#3399ff 6px solid;padding-left:4px;"><input type="checkbox" id="check" onclick="CheckAll('checkList')"></th><th width="8%">
<a href="javascript:sortBy('id','1','index')" title="按照编号升序排列 ">编号<img src="/rx/Manage/Tpl/Public/images/desc.gif" width="12" height="17" border="0" align="absmiddle"></a></th>
<th width="15%">水表标示名称</th>
<th>计量单价</th>
<th width="18%">操作</th>
</tr>
<volist name="liste" id="vo">
<tr class="row" onmouseover="over(event)" onmouseout="out(event)" onclick="change(event)"  height="22"><td height="32" align="center"><input type="checkbox" name="key"	value="{$vo.id}"></td><td>表{$i}</td><td><a href="javascript:edit('{$vo.id}')">{$vo.meterid}</a></td><td>{$vo.m_price}</td><td><a href="#" id="meter_btn" class="ui-state-default ui-corner-all" onclick="addmeter({$vo.id})"><span class="ui-icon ui-icon-gear"></span>删除计量表</a></td></tr>
</volist>

</table>

</div>
<div class=cssClear></div>
    

</div>